package com.nmf.pc.vo.req;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

public class GoodReq {
	@NotBlank(message="商品名称不能为空")
	private String goodName;
	@NotNull(message="价格不能为空")
	private Double price;		// 价格
	@NotNull(message="数量不能为空")
	private Integer num;		// 数量
	@NotNull(message="图片不能为空")
	private String picUrl;		// 图片
	@NotNull(message="联系人手机不能为空")
	private String linkTel;		// 联系人手机
	@NotNull(message="联系人电话不能为空")
	private String linkName;		// 联系人电话
	@NotBlank(message="购买日期不能为空")
	private String buyDateStr;		// 购买日期
	@NotBlank(message="cardTypeId不能为空")
	private String cardTypeId;		// 显卡ID
	private String remarks;		// 备注
	
	
	public String getCardTypeId() {
		return cardTypeId;
	}
	public void setCardTypeId(String cardTypeId) {
		this.cardTypeId = cardTypeId;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
	public String getGoodName() {
		return goodName;
	}
	public void setGoodName(String goodName) {
		this.goodName = goodName;
	}
	public String getPicUrl() {
		return picUrl;
	}
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	public String getLinkTel() {
		return linkTel;
	}
	public void setLinkTel(String linkTel) {
		this.linkTel = linkTel;
	}
	public String getLinkName() {
		return linkName;
	}
	public void setLinkName(String linkName) {
		this.linkName = linkName;
	}
	public String getBuyDateStr() {
		return buyDateStr;
	}
	public void setBuyDateStr(String buyDateStr) {
		this.buyDateStr = buyDateStr;
	}
}
